package com.cy.study.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.cy.study.entity.PushRecordEntity;
import com.cy.study.req.PushPageReq;
import com.cy.study.res.PushPageRes;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

@Component
@Mapper
public interface PushRecordMapper extends BaseMapper<PushRecordEntity> {
    Page<PushPageRes> pagePush(@Param("req") PushPageReq req,
                               Page page);
}
